package com.xpsoft.oa.model.statistics;

import com.google.gson.annotations.Expose;



/**
 * StaffTrainInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class StaffTrainInfo extends com.xpsoft.core.model.BaseModel {
	@Expose
    protected Long id;  
	@Expose
	protected StaffTrainApply staffTrainApply;
	@Expose
	protected String course;
	@Expose
	protected Integer attendNum;
	@Expose
	protected String trainType;
	@Expose
	protected java.util.Date trainDate;
	@Expose
	protected String otherNeeds;
	@Expose
	protected Integer status;//状态 0未完成 1已完成


	/**
	 * Default Empty Constructor for class StaffTrainInfo
	 */
	public StaffTrainInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class StaffTrainInfo
	 */
	public StaffTrainInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public StaffTrainApply getStaffTrainApply() {
		return staffTrainApply;
	}

	public void setStaffTrainApply(StaffTrainApply staffTrainApply) {
		this.staffTrainApply = staffTrainApply;
	}

	/**
	 * 拟参加人员数量	 * @return Integer
	 * @hibernate.property column="attendNum" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getAttendNum() {
		return this.attendNum;
	}
	
	/**
	 * Set the attendNum
	 */	
	public void setAttendNum(Integer aValue) {
		this.attendNum = aValue;
	}	

	/**
	 * 类别	 * @return String
	 * @hibernate.property column="trainType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getTrainType() {
		return this.trainType;
	}
	
	/**
	 * Set the trainType
	 */	
	public void setTrainType(String aValue) {
		this.trainType = aValue;
	}	

	/**
	 * 拟培训日期	 * @return java.util.Date
	 * @hibernate.property column="trainDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getTrainDate() {
		return this.trainDate;
	}
	
	/**
	 * Set the trainDate
	 */	
	public void setTrainDate(java.util.Date aValue) {
		this.trainDate = aValue;
	}	

	/**
	 * 其他要求	 * @return String
	 * @hibernate.property column="otherNeeds" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getOtherNeeds() {
		return this.otherNeeds;
	}
	
	/**
	 * Set the otherNeeds
	 */	
	public void setOtherNeeds(String aValue) {
		this.otherNeeds = aValue;
	}

	/**
	 * 状态 0未完成 1已完成	 * @return Integer
	 * @hibernate.property column="status" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getStatus() {
		return this.status;
	}
	
	/**
	 * Set the status
	 */	
	public void setStatus(Integer aValue) {
		this.status = aValue;
	}	
}
